import Vue from 'vue'
import tab from './tab.vue'
import input from './form/os-input.vue'
import select from './form/os-select.vue'
import _switch from './form/os-switch.vue'
import textarea from './form/os-textarea.vue'
import table from './os-table.vue'
import alertx from './info/alertx.vue'
import entry from './form/os-entry.vue'
import treeMenu from './tree-menu.vue'
import osLog from "./os-log.vue"
import osModal from "./os-modal.vue"
import mbselect from "./form/mb-select.vue"
import pageLoading from "./page-loading.vue"
import drop from "./form/drop.vue"
import mselect from "./form/my-select.vue"
import save from "./form/save-btn.vue"

const map = {
  'tab': tab,
  'os-input':input,
  'os-select': select,
  'os-switch': _switch,
  'os-textarea': textarea,
  'os-table': table,
  'os-alertx': alertx,
  'os-entry': entry,
  'tree-menu': treeMenu,
  'os-log': osLog,
  'os-modal': osModal,
  "mb-select": mbselect,
  "page-loading": pageLoading,
  'os-drop': drop,
  'my-select': mselect,
  'save-btn': save,
}

for(let name in map) {
    Vue.component(name, map[name])
}
